<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use App\Engine\BaseModel;
use Illuminate\Database\Eloquent\Model;

/**
 * Class Manage
 *
 * @property int $id
 * @property string|null $username
 * @property string|null $password
 * @property int $login_time
 * @property string|null $ip
 * @property int $created_at
 * @property int $updated_at
 *
 * @package App\Models
 */
class Manage extends BaseModel
{
	protected $table = 'manages';

	protected $casts = [
		'login_time' => 'int',
		'created_at' => 'int',
		'updated_at' => 'int'
	];

	protected $hidden = [
		'password'
	];

	protected $fillable = [
		'username',
		'password',
		'login_time',
		'ip'
	];
}
